package org.example.demo9_compostie;

public class ImageFile implements VirusScanComponent{
    private String name;

    public ImageFile(String name) {
        this.name = name;
    }

    @Override
    public void scan() {
        System.out.println("Scanning image file: " + name);
    }
}
